import Ember from 'ember';

export default Ember.Route.extend({
  model() {
    this.get('myGlobals').set('pageTitles', {
      title: "控制台",
      subTitle: "回调状态监视"});

     return Ember.$.getJSON("/mconsolejs/reportstats").then(function(data) {
            return data;
      }, function(){
          return {};
      });
  }
});
